window.shootPeople=window.shootPeople||{};
shootPeople.AllRanking=function(){
	var s = this;
	annie.Sprite.call(s);
	/*_a2x_need_start*/s.prev_btn=null;s.returnHome_btn=null;/*_a2x_need_end*/
	annie.initRes(s,"shootPeople","AllRanking");
	s.prev_btn.mouseChildren = false;
	s.returnHome_btn.mouseChildren = false;
	s.addEventListener(annie.MouseEvent.CLICK,function(e){
	    if(e.target.name == "prev_btn"){
            annie.globalDispatcher.dispatchEvent("onJump",userInfo.currentStatus);
        }else if(e.target.name == "returnHome_btn"){
            annie.globalDispatcher.dispatchEvent("onJump","shootPeople.home");
        }
    });
    s.rectFace=new annieUI.FacePhoto();
    s.userImage_con.addChild(s.rectFace);

    s.addEventListener(annie.Event.ADD_TO_STAGE,function(e){
        rankingManager.rankingAll(s,shootPeople.Allitem);
    });

    s.addEventListener(annie.Event.REMOVE_TO_STAGE,function(e){
        s.itemList_con.removeAllChildren();
    })

};
A2xExtend(shootPeople.AllRanking,annie.Sprite);
